
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
    <link rel="stylesheet" href="../../static/css/default.css">
    <script src="../../static/script/jquery-1.7.2.js"></script>
    <script src="../../static/script/tools.js"></script>
</head>
<body>
<div id="login_header">
    <img class="logo_imgCMDB" alt="" src="../../static/img/logo.gif">
    <span class="login_Wel_wordCMDB">CMDB</span>
</div>
<div class="login_banner" id="login_banner">
    <div id="l_content">
        欢迎登录
    </div>
    <div id="content">
<!--  这是右边块-->
        <div class="loginBox">
<!-- 这是登录块-->
            <div class="tit">
                <div>CMDB</div>
                <a href="#">立即注册</a>
            </div>
            <div class="msg_cont">
<!--                https://www.iconfont.cn/home/index?spm=a313x.7781069.1998910419.2-->
                <svg t="1615275616680" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2028" width="16" height="16"><path d="M512 0A352 352 0 0 0 160 352c0 128 118.08 265.6 160 385.6C384 916.8 377.92 1024 512 1024s128-106.56 192-285.44C746.24 618.24 864 480 864 352A352 352 0 0 0 512 0z m82.88 869.76l-160 19.84c-5.76-16.32-11.84-35.52-19.2-60.48l198.08-24.64L608 832c-5.76 13.76-9.6 26.24-13.12 37.76z m-187.2-72.64Q398.72 768 387.84 736h248.64c-3.84 11.52-8 23.04-11.2 33.92zM512 960a55.68 55.68 0 0 1-64-40l135.68-16.96C564.16 955.84 549.76 960 512 960z m149.44-288H362.88c-16-34.56-35.2-69.12-54.08-103.04C267.2 494.4 224 416 224 352a288 288 0 0 1 576 0c0 64-43.2 142.4-85.12 217.28-18.56 33.92-37.44 68.48-53.44 102.72z" fill="#1296db" p-id="2029"></path><path d="M512 160a192 192 0 0 0-192 192 16 16 0 0 0 32 0 160 160 0 0 1 160-160 16 16 0 0 0 0-32z" fill="#1296db" p-id="2030"></path></svg>
                请输入用户名和密码
            </div>
            <div class="loginForm">
                <form action= method="post">
                    <input type="hidden" name="action" value="login">
                    <label>用户名称：</label>
                    <input class="itxt" type="text" placeholder="请输入用户名"
                           autocomplete="off" tabindex="1" name="username"/>
                    <br/>
                    <br/>
                    <label>用户密码：</label>
                    <input class="itxt" type="password" placeholder="请输入密码"
                           autocomplete="off" tabindex="1" name="password" />
                    <br/>
                    <br/>
                    <label>验证码：</label>
                    <input class="itxt" type="text" name="code" style="width: 80px;" id="code" />
<!--                <img id="code_img" alt="" src="<%=basepath%>kaptcha.jpg" style="float: right; margin-right: 80px;width: 120px;height: 32px;border-radius:5px">-->
                    <script>
                        var code_imgObj=document.getElementById("code_img");
                        code_imgObj.onclick=function () {
                            this.src="<%=basepath%>kaptcha.jpg"//http://localhost:80/kaptcha.jpg
                        }
                    </script>
                    <br/>
                    <br/>
                    <input id="login_button" type="submit" value="登录" id="sub_btn"/>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    let login_bannerObj=document.getElementById("login_banner")
    login_bannerObj.style.height=(screen.height -175)+"px"
</script>
</body>
</html>